Skip to content

Conversation

kenichi
Copy link
Contributor

@kenichi kenichi commented Jan 16, 2025

very slight spec update to keep dialyzer happy when one calls OpentelemetryPhoenix.setup(liveview: true)

before:

...
OpentelemetryPhoenix.setup([{:liveview, true}])

breaks the contract
(opts()) :: :ok
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2

after:

...
Total errors: 0, Skipped: 0, Unnecessary Skips: 0
done in 0m2.81s
done (passed successfully)

@bryannaegele
Copy link
Contributor

@kenichi you'll have to rebase this yourself since you didn't allow maintainer edit

@kenichi
Copy link
Contributor Author

kenichi commented Jan 16, 2025

@bryannaegele ah yes, of course. should be done now.

@kenichi
Copy link
Contributor Author

kenichi commented Jan 22, 2025

looks like #448 fixes the tests that are failing here, i can rebase again after it's merged

@bryannaegele
Copy link
Contributor

This appears to be an issue isolated to OTP 27.2. Tests consistently pass on the OTP 25 tests. We'll just force the merge.

@bryannaegele bryannaegele merged commit b610422 into open-telemetry:main Jan 24, 2025
26 of 27 checks passed
@danschultzer
Copy link
Contributor

Pretty sure it's a race condition due to telemetry being stopped after each test (telemetry is already started in the supervision tree so shouldn't be necessary to start and stop it): #448

Not sure what exactly was changed in OTP 27 to cause this.

@kenichi kenichi deleted the liveview_spec branch January 31, 2025 23:33
gugahoa pushed a commit to gugahoa/opentelemetry-erlang-contrib that referenced this pull request Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants